package com.linkhub.oms.dao.mpservice;

import com.linkhub.oms.common.enums.mp.BoolEnum;
import com.linkhub.oms.entity.OrderAddressEntity;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;
import java.util.List;

/**
 * <p>
 * 订单收货地址表 服务类
 * </p>
 *
 * @author echo
 * @since 2024-03-28
 */
public interface IOrderAddressService extends IService<OrderAddressEntity> {

    List<String> listLocalOrderAddressOrderIds(Collection<String> sysOrderIds);

    void deleteBySysOrderIds(Collection<String> sysOrderIds, BoolEnum updateFlag);

    void deleteBySysOrderIds(Collection<String> sysOrderIds);

    List<OrderAddressEntity> listBySysOrderIds(List<String> sysOrderIds);

    OrderAddressEntity getByOrderIds(String sysOrderIds);


    List<String> existOrderAddress(Collection<String> sysOrderIds);
}
